projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f7e3d8
)
(print_string): Fix printing of multibyte string with
author
Andreas Schwab
<schwab@suse.de>
Fri, 8 Aug 2003 22:45:18 +0000
(22:45 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Fri, 8 Aug 2003 22:45:18 +0000
(22:45 +0000)
nontrivial printcharfun.
src/print.c
patch
|
blob
|
history
diff --git
a/src/print.c
b/src/print.c
index e06b8a0052dce812723fd1c11fd71bdfd0042d93..2aaec788699b74e42af078e383f936ccf62a41d5 100644
(file)
--- a/
src/print.c
+++ b/
src/print.c
@@
-506,7
+506,7
@@
print_string (string, printcharfun)
for (i = 0; i < size; i++)
PRINTCHAR (SREF (string, i));
else
- for (i = 0; i < size_byte;
i++
)
+ for (i = 0; i < size_byte; )
{
/* Here, we must convert each multi-byte form to the
corresponding character code before handing it to PRINTCHAR. */